package com.xd.core.business.service;

import com.xd.core.business.entity.CarCredit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xd.core.h5.vo.CarInsuranceDetail;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.util.List;
import java.util.TreeMap;

/**
 * <p>
 * 保单贷车辆信息 服务类
 * </p>
 *
 * @author ZX
 * @since 2025-06-19
 */
public interface ICarCreditService extends IService<CarCredit> {
    TreeMap<String, Integer> importCarCreditListener(List<CarCredit> list,Integer incomingId) ;

    void processDrivingZipFile(MultipartFile file,Integer incomingId)  ;

    void processInsuranceAplZipFile(MultipartFile file, Integer incomingId);

    BigDecimal commissionAmount(CarInsuranceDetail carInsuranceDetail);
}
